package com.sgj.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author 沈国纪
 * @date 2021/5/19 20:31
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

	@Override
	public String paymentInfo_OK(Integer id) {
		return "-------PaymentFallbackService fall back-paymentInfo_OK, 555";
	}

	@Override
	public String paymentInfo_TimeOut(Integer id) {
		return "-------PaymentFallbackService fall back-paymentInfo_TimeOut, 555";
	}
}